package com.example.springbootdemo.util;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RestRequest<T> {
    private int code;
    private String msg;
    private T data;
}
